package com.info.provider.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mars.app.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * Created by pengshuo on 2018/2/1 17:25
 * Description: Think封装类
<br/>
{
    errMsg:"chooseLocation:ok"
    address:"上海市静安区延安中路789号"
    latitude:31.22352
    longitude:121.45591
    name:"静安区机关事务管理局(上海展览中心东南)"
}
 * Modified By:
 * Version:
 *
 * @author pengshuo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Think extends BaseEntity{

    /**
     * 唯一标识（think_uuid）
     */
    @Id
    private String uuid;

    /**
     * 微信用户标识
     */
    private String appId;

    /**
     * think
     */
    private String thinkInfo;

    /**
     * 经度
     */
    private String latitude;

    /**
     * 纬度
     */
    private String longitude;

    /**
     * 位置信息
     */
    private String name;

    /**
     * 具体地址
     */
    private String address;

    /**
     * 允许在首页展示 0: 代表 显示 1: 代表 不显示
     */
    private Integer eyeInfo;

    /** 图片属性 */
    private Image image;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateDate;

}
